#include "material.hpp"

Material::Material() : ambient(Color(1.0,1.0,1.0)) , diffuse(Color(1.0,1.0,1.0)) , specular(Color(1.0,1.0,1.0)) { }

Material::Material(const Color& _ambient,const Color& _diffuse,const Color& _specular,const double _brightness = 0.0) : ambient(_ambient), diffuse(_diffuse), specular(_specular), brightness(_brightness)
{ }

Material::~Material(void) { }

Color Material::get_ambient(void) const { return ambient; }

Color Material::get_diffuse(void) const { return diffuse; }

Color Material::get_specular(void) const { return specular; }

double Material::get_brightness(void) const { return brightness; }

void Material::set_ambient(const Color& _ambient) { ambient = _ambient; }

void Material::set_diffuse(const Color& _diffuse) { diffuse = _diffuse; }

void Material::set_specular(const Color& _specular) { specular = _specular; }

void Material::set_brightness(const double _brightness) { brightness = _brightness; }
